package com.hoki.zj.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "alicloud.oss") // 读取前缀为alicloud.oss的属性
@Data
public class OSSProperty {

    private String accessId;
    private String accessKey;
    private String endpoint;
    private String bucket;
}
